package main

import "fmt"

func main() {
	intChan := make(chan int64, 10)
	intChan <- 1
	intChan <- 2
	intChan <- 3

	for {
		select {
		case val := <-intChan:
			fmt.Println(val)
		}
	}
}
